﻿Public Class Form2

    Private Sub EToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles EToolStripMenuItem.Click
        Shell("CMD.exe")
        SendKeys.Send("Shutdown -1")
        SendKeys.Send("(ENTER)")
    End Sub

    Private Sub RichTextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RichTextBox1.TextChanged
        RichTextBox1.Text = ("C:\Program Files\KDiff3\bin\diff.exe   Comparing 2 files:kdiff3 file1 file2 Merging 2 files: kdiff3 file1 file2 -m kdiff3 file1 file2 -o outputfile    ")
    End Sub

    Private Sub CommsndLineToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CommsndLineToolStripMenuItem.Click

        RichTextBox1.Visible = True
      
    End Sub
End Class